package com.sugon.quartz.simpletrigger;

import java.time.LocalDateTime;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import lombok.Data;

/**
 * @desc:
 * @author: luoy
 * @date: 2021-12-02 16:14
 */
@Data
public class SimpleJob2 implements Job {




    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {



        try {
            System.out.println("hello2:"+ LocalDateTime.now());

            Thread.sleep(3000);
        } catch (  InterruptedException e) {
            e.printStackTrace();
        }

    }
}
